package xyz.playedu.resource.service;

import com.baomidou.mybatisplus.extension.service.IService;
import xyz.playedu.common.types.CategoriesTree;
import xyz.playedu.resource.domain.ResourceCategories;

import java.util.List;

public interface ResourceCategoriesService extends IService<ResourceCategories> {

    List<CategoriesTree> getCategoriesTree();


    List<Integer> getCategoriesAndParentByUserId(Integer userId);

    List<Integer> getCategoriesByUserId(Integer userId);
}
